(define (problem 22) (:domain spanner) (:objects 
     bob - man
 spanner1 spanner2 spanner3 spanner4 spanner5 spanner6 spanner7 spanner8 - spanner
     nut1 nut2 nut3 nut4 nut5 nut6 nut7 - nut
     location1 location2 location3 location4 location5 location6 location7 location8 - location
     shed gate - location
    ) (:init 
    (at bob shed)
    (at spanner1 location8)
    (useable spanner1)
    (at spanner2 location6)
    (useable spanner2)
    (at spanner3 location4)
    (useable spanner3)
    (at spanner4 location7)
    (useable spanner4)
    (at spanner5 location1)
    (useable spanner5)
    (at spanner6 location8)
    (useable spanner6)
    (at spanner7 location2)
    (useable spanner7)
    (at spanner8 location3)
    (useable spanner8)
    (loose nut1)
    (at nut1 gate)
    (loose nut2)
    (at nut2 gate)
    (loose nut3)
    (at nut3 gate)
    (loose nut4)
    (at nut4 gate)
    (loose nut5)
    (at nut5 gate)
    (loose nut6)
    (at nut6 gate)
    (loose nut7)
    (at nut7 gate)
    (link shed location1)
    (link location8 gate)
    (link location1 location2)
    (link location2 location3)
    (link location3 location4)
    (link location4 location5)
    (link location5 location6)
    (link location6 location7)
    (link location7 location8)
) (:goal
  (and
   (tightened nut1)
   (tightened nut2)
   (tightened nut3)
   (tightened nut4)
   (tightened nut5)
   (tightened nut6)
   (tightened nut7)
)))